package com.szcinda.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ClientRepository extends JpaRepository<Client, String>, JpaSpecificationExecutor<Client> {
    Client findById(String id);

    List<Client> findByOrganizationIdIn(List<String> orgIds);

    List<Client> findByOrganizationId(String orgId);
}
